package cn.stylefeng.guns.modular.hp.service;

import cn.stylefeng.guns.modular.hp.model.PresidentMailInfo;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 院长信箱表实体类 服务类
 * </p>
 *
 * @author xzqiang
 * @date 2019-05-26
 */
public interface IPresidentMailInfoService extends IService<PresidentMailInfo> {

    List<PresidentMailInfo> presidentMailInfoList(@Param("startIndex")Integer startIndex, @Param("size")Integer size);

    Integer presidentMailInfoCont();

    List<Map<String, Object>> getMailList(Page<PresidentMailInfo> page, String orderByField, boolean asc);

}
